<template>
  <div>{{props.block.type}}</div>
</template>

<script setup lang="ts">
import type { ChartBlock } from '@/types/Block';

const chart={
  type:"chart",
  content:"这是一段文本",
  props:{
    xAxis:['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],
    yAxis: [120, 130, 140, 150, 160, 170, 180],
  }
}
const props=defineProps<{
  block:ChartBlock
}>()
</script>

<style scoped>

</style>